package com.yueyang.sojourn.server.model.vo;

import com.yueyang.sojourn.server.model.enums.MemberStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author Stephen.Shi
 * @version v1
 * @summary 旅居用户vo
 * @since 2020/2/26
 */
@Data
public class SojournUserVo {
    @ApiModelProperty("(兼容)用户id")
    @Deprecated
    private Long id;
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("手机号")
    private String phone;
    private String phoneMd5;
    private String userName;
    @ApiModelProperty("昵称")
    private String nickName;
    private Byte type;
    private Date ctime;
    private Date mtime;
    private Long cuser;
    private Long muser;
    @ApiModelProperty("头像图片")
    private String headImgUrl;
    @ApiModelProperty("性别 0: 未知 1:男 2:女")
    private Byte sex;
    @ApiModelProperty("是否是会员")
    private Boolean member;
    @ApiModelProperty("会员状态 0: 不是会员 1:是会员  -1:已过期")
    private Byte memberStatus;
    @ApiModelProperty("会员过期时间（如不是会员则为null）")
    private Date memberExpiredTime;
    @ApiModelProperty("是否是分销员")
    private Boolean distributor;
}
